Optimal. Leaf size=1194 \[ \text{result too large to display} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 5.01394, antiderivative size = 1194, normalized size of antiderivative = 1., number of steps used = 24, number of rules used = 8, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.296 \[ -\frac{2 b c^2 e (2-n) \, _2F_1\left (1,\frac{n+2}{n};2 \left (1+\frac{1}{n}\right );-\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}\right ) x^{n+2}}{a \left (b^2-4 a c\right )^{3/2} \left (b-\sqrt{b^2-4 a c}\right ) n (n+2)}+\frac{2 b c^2 e (2-n) \, _2F_1\left (1,\frac{n+2}{n};2 \left (1+\frac{1}{n}\right );-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}\right ) x^{n+2}}{a \left (b^2-4 a c\right )^{3/2} \left (b+\sqrt{b^2-4 a c}\right ) n (n+2)}-\frac{2 b c^2 f (3-n) \, _2F_1\left (1,\frac{n+3}{n};2+\frac{3}{n};-\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}\right ) x^{n+3}}{a \left (b^2-4 a c\right )^{3/2} \left (b-\sqrt{b^2-4 a c}\right ) n (n+3)}+\frac{2 b c^2 f (3-n) \, _2F_1\left (1,\frac{n+3}{n};2+\frac{3}{n};-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}\right ) x^{n+3}}{a \left (b^2-4 a c\right )^{3/2} \left (b+\sqrt{b^2-4 a c}\right ) n (n+3)}-\frac{2 c f \left (2 a c (3-2 n)-b^2 (3-n)\right ) \, _2F_1\left (1,\frac{3}{n};\frac{n+3}{n};-\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}\right ) x^3}{3 a \left (b^2-4 a c\right ) \left (b^2-\sqrt{b^2-4 a c} b-4 a c\right ) n}-\frac{2 c f \left (2 a c (3-2 n)-b^2 (3-n)\right ) \, _2F_1\left (1,\frac{3}{n};\frac{n+3}{n};-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}\right ) x^3}{3 a \left (b^2-4 a c\right ) \left (b^2+\sqrt{b^2-4 a c} b-4 a c\right ) n}+\frac{f \left (b c x^n+b^2-2 a c\right ) x^3}{a \left (b^2-4 a c\right ) n \left (b x^n+c x^{2 n}+a\right )}-\frac{c e \left (4 a c (1-n)-b^2 (2-n)\right ) \, _2F_1\left (1,\frac{2}{n};\frac{n+2}{n};-\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}\right ) x^2}{a \left (b^2-4 a c\right ) \left (b^2-\sqrt{b^2-4 a c} b-4 a c\right ) n}-\frac{c e \left (4 a c (1-n)-b^2 (2-n)\right ) \, _2F_1\left (1,\frac{2}{n};\frac{n+2}{n};-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}\right ) x^2}{a \left (b^2-4 a c\right ) \left (b^2+\sqrt{b^2-4 a c} b-4 a c\right ) n}+\frac{e \left (b c x^n+b^2-2 a c\right ) x^2}{a \left (b^2-4 a c\right ) n \left (b x^n+c x^{2 n}+a\right )}-\frac{c d \left (-(1-n) b^2-\sqrt{b^2-4 a c} (1-n) b+4 a c (1-2 n)\right ) \, _2F_1\left (1,\frac{1}{n};1+\frac{1}{n};-\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}\right ) x}{a \left (b^2-4 a c\right ) \left (b^2-\sqrt{b^2-4 a c} b-4 a c\right ) n}-\frac{c d \left (-(1-n) b^2+\sqrt{b^2-4 a c} (1-n) b+4 a c (1-2 n)\right ) \, _2F_1\left (1,\frac{1}{n};1+\frac{1}{n};-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}\right ) x}{a \left (b^2-4 a c\right ) \left (b^2+\sqrt{b^2-4 a c} b-4 a c\right ) n}+\frac{d \left (b c x^n+b^2-2 a c\right ) x}{a \left (b^2-4 a c\right ) n \left (b x^n+c x^{2 n}+a\right )} \]
Antiderivative was successfully verified.
[In] Int[(d + e*x + f*x^2)/(a + b*x^n + c*x^(2*n))^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((f*x**2+e*x+d)/(a+b*x**n+c*x**(2*n))**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [B] time = 6.57774, size = 6525, normalized size = 5.46 \[ \text{Result too large to show} \]
Antiderivative was successfully verified.
[In] Integrate[(d + e*x + f*x^2)/(a + b*x^n + c*x^(2*n))^2,x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.097, size = 0, normalized size = 0. \[ \int{\frac{f{x}^{2}+ex+d}{ \left ( a+b{x}^{n}+c{x}^{2\,n} \right ) ^{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((f*x^2+e*x+d)/(a+b*x^n+c*x^(2*n))^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \frac{{\left (b^{2} f - 2 \, a c f\right )} x^{3} +{\left (b^{2} e - 2 \, a c e\right )} x^{2} +{\left (b c f x^{3} + b c e x^{2} + b c d x\right )} x^{n} +{\left (b^{2} d - 2 \, a c d\right )} x}{a^{2} b^{2} n - 4 \, a^{3} c n +{\left (a b^{2} c n - 4 \, a^{2} c^{2} n\right )} x^{2 \, n} +{\left (a b^{3} n - 4 \, a^{2} b c n\right )} x^{n}} - \int \frac{2 \, a c d{\left (2 \, n - 1\right )} - b^{2} d{\left (n - 1\right )} +{\left (2 \, a c f{\left (2 \, n - 3\right )} - b^{2} f{\left (n - 3\right )}\right )} x^{2} -{\left (b c f{\left (n - 3\right )} x^{2} + b c e{\left (n - 2\right )} x + b c d{\left (n - 1\right )}\right )} x^{n} +{\left (4 \, a c e{\left (n - 1\right )} - b^{2} e{\left (n - 2\right )}\right )} x}{a^{2} b^{2} n - 4 \, a^{3} c n +{\left (a b^{2} c n - 4 \, a^{2} c^{2} n\right )} x^{2 \, n} +{\left (a b^{3} n - 4 \, a^{2} b c n\right )} x^{n}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x^2 + e*x + d)/(c*x^(2*n) + b*x^n + a)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{f x^{2} + e x + d}{c^{2} x^{4 \, n} + 2 \, a b x^{n} + a^{2} +{\left (2 \, b c x^{n} + b^{2} + 2 \, a c\right )} x^{2 \, n}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x^2 + e*x + d)/(c*x^(2*n) + b*x^n + a)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x**2+e*x+d)/(a+b*x**n+c*x**(2*n))**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{f x^{2} + e x + d}{{\left (c x^{2 \, n} + b x^{n} + a\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x^2 + e*x + d)/(c*x^(2*n) + b*x^n + a)^2,x, algorithm="giac")
[Out]